package utils;

import org.apache.hadoop.hbase.HBaseConfiguration;

/**
 * HBase相关配置
 *
 * @author zifangsky
 * @date 2018/7/12
 * @since 1.0.0
 */
public class HBaseConfig {

    public HBaseService getHbaseService(){
        org.apache.hadoop.conf.Configuration conf = HBaseConfiguration.create();
        conf.set("hbase.zookeeper.quorum","localhost:2181" );
        conf.set("hbase.client.keyvalue.maxsize","50000");

        return new HBaseService(conf);
    }
}